#!/usr/bin/python
# -*- coding: UTF-8 -*-

# offline, realtime, online

MY_MACHINE_TYPE="offline"

ZK_PATH = "/group6_test/gust/ps_moniter"
ZK_URL = "172.21.32.168:2181,172.21.32.136:2181,172.21.32.113:2181,172.21.32.116:2181,172.21.32.196:2181"

PORT_PSM_CONTROLLER=27998

HULK_HOST = "172.21.32.54"
HULK_PORT = 10066
HULK_HASH = "ps_moniter"

# offline集群启动的ParaServ的默认数
# realtime集群启动的ParaServ的默认数
# online集群启动的ParaServ的默认数
RUN_ParaServ_NUMBER={
    "offline":4,
    "realtime":2,
    "online":2,
}


# ParaServ注册的地址，为了使用psProxy
# 假设model_name_id=test_1234,则:
# /group6_test/gust/psProxy_20200204/test_1234/(1000, 2000, 3000, 4000 ...)
ZK_ParaServ_REGISTE_PATH="/group6_test/gust/psProxy_20200204/"


# worker对外的port，只有controller使用
PORT_PSM_WORKER=27999 # worker的port


# ParaServ内部创建的线程数
ParaServ_THREAD_NUMBER=3
